计算机与现代化 ›› 2013, Vol. 1 ›› Issue (2): 113-116.doi: 10.3969/j.issn.1006-2475.2013.02.027

• 人工智能 • 上一篇    下一篇

基于VTD-XML的流程定义文件解析方法研究

汤世凤1,杨国强2   

  1. 1.南昌航空大学信息工程学院,江西南昌330063; 2.江西省计算技术研究所,江西南昌330002
  • 收稿日期:2012-09-12 修回日期:1900-01-01 出版日期:2013-02-27 发布日期:2013-02-27

Research on Process Definition File Parsing Methods Based on VTD-XML

TANG Shi-feng1, YANG Guo-qiang2   

  1. 1. School of Information Engineering, Nanchang Hangkong University, Nanchang 330063, China;2. Jiangxi Institute of Computing Technology, Nanchang 330002, China
  • Received:2012-09-12 Revised:1900-01-01 Online:2013-02-27 Published:2013-02-27

摘要: 针对传统的DOM和SAX解析技术进行分析,指出它们存在的缺陷:DOM使用方便但内存消耗大,SAX内存消耗低却难以回访。本文利用VTD-XML技术对XPath的支持,提出一种解析流程定义文件的实现方案,实验结果表明该方案提高了解析效率,降低了内存消耗。

关键词: 公文管理系统, VTD-XML, 工作流

Abstract: The dissertation analyzes the traditional DOM and SAX parsing technology and points out their defects: DOM easy to use but there is a high memory consumption; SAX memory consumption is low but it is difficult to pay a return visit. The dissertation utilizes VTD-XML technology supporting for XPath and provides a schedule of parsing process definition file. Experiment results show that the method improves the parsing efficiency, reduces the memory consumption.

Key words: document management system, VTD-XML, workflow